package com.yipao.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.yipao.db.domain.YipaoLog;
import com.yipao.db.domain.YipaoLogExample;

public interface LogMapper {

    long countByExample(YipaoLogExample example);


    int deleteByExample(YipaoLogExample example);


    int deleteByPrimaryKey(Integer id);


    int insert(YipaoLog record);


    int insertSelective(YipaoLog record);


    YipaoLog selectOneByExample(YipaoLogExample example);


    YipaoLog selectOneByExampleSelective(@Param("example") YipaoLogExample example, @Param("selective") YipaoLog.Column ... selective);


    List<YipaoLog> selectByExampleSelective(@Param("example") YipaoLogExample example, @Param("selective") YipaoLog.Column ... selective);


    List<YipaoLog> selectByExample(YipaoLogExample example);


    YipaoLog selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") YipaoLog.Column ... selective);


    YipaoLog selectByPrimaryKey(Integer id);


    YipaoLog selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);


    int updateByExampleSelective(@Param("record") YipaoLog record, @Param("example") YipaoLogExample example);


    int updateByExample(@Param("record") YipaoLog record, @Param("example") YipaoLogExample example);


    int updateByPrimaryKeySelective(YipaoLog record);


    int updateByPrimaryKey(YipaoLog record);


    int logicalDeleteByExample(@Param("example") YipaoLogExample example);


    int logicalDeleteByPrimaryKey(Integer id);
}
